/*
 * Copyright (c) 2017. 杭州端点网络科技有限公司.  All rights reserved.
 */

package com.jiantong.user.service;

import com.jiantong.user.model.DeclareStation;
import com.jiantong.user.model.Department;
import io.terminus.common.model.Response;

/**
 * @author : panxin
 */
public interface DepartmentWriteService {

    /**
     * 创建部门信息
     *
     * @param department 部门信息
     * @return 创建结果
     */
    Response<Boolean> createNormalDepartment(Department department);

    /**
     * 创建申报点
     *
     * @param station 申报点信息
     * @return 创建结果
     */
    Response<Boolean> createDeclareStation(DeclareStation station);

    Response<Long> create(Department department);

    Response<Boolean> update(Department department);
}
